www.gusucode.com > 红色大方的企业网站源码 1 > 红色大方的企业网站源码 1.0/qiye_red/ProductShow.asp

    <!--#include file="Inc/SysProduct.asp" -->
<%
ShowSmallClassType=ShowSmallClassType_Article
dim ID
ID=trim(request("ID"))
if ID="" then
	response.Redirect("Product.asp")
end if

sql="select * from Product where ID=" & ID & ""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
	response.write"<SCRIPT language=JavaScript>alert('找不到此产品!');"
  response.write"javascript:history.go(-1)</SCRIPT>"
else	
	rs("Hits")=rs("Hits")+1
	rs.update
%>
<!-- #include file="Head.asp" -->
<table width="1000" height="579" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td width="265" height="563" valign="top" background="imgbsy/l1.jpg" ><table cellspacing="0" cellpadding="0" width="265" border="0">
        <tbody>
          <tr>
            <td><img height="34" src="imgbsy/gg.jpg" width="265" /></td>
          </tr>
          <tr>
            <td valign="top" width="265" background="imgbsy/gg11.jpg" height="114"><table width="245" border="0">
              <tbody>
                <tr>
                  <td width="10">&nbsp;</td>
                  <td width="225"><marquee onmouseover="this.stop()" 
                  style="FONT-SIZE: 9pt; COLOR: #000000" onmouseout="this.start()" 
                  scrollamount="1" scrolldelay="50" direction="up" width="210" 
                  height="90">
                    <table bordercolor="#ffffff" cellspacing="0" cellpadding="0" 
                  width="210" align="center" border="0">
                      <tbody>
<%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top 1 * from Affiche order by id desc"
rs_news.open sqltext4,conn,1,1				 	
%>

<%i=0
do while not rs_news.eof%>
                          <tr>
                            <td valign="top">
<span class="px12">
  本站公告:
&nbsp;<a href='#' onclick="javascript:window.open('Affiche.asp?ID=<%=rs_news("id")%>', 'newwindow', 'height=450, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')" title='<%=cutstr(rs_news("title"),15)%>'><font color='#FF0000'><%=cutstr(rs_news("title"),15)%></font></a>&nbsp;

</td>   
</tr>                       
 <%rs_news.movenext
i=i+1
if i=6 then exit do
loop
rs_news.close %> 
                      </tbody>
                    </table>
                  </marquee></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td><img height="30" src="imgbsy/product1.gif" width="265" /></td>
          </tr>
          <tr>
            <td><img height="9" src="imgbsy/fbjx1_07.jpg" width="265" /></td>
          </tr>
          <tr>
            <td valign="top" background="imgbsy/fbjx1_08.jpg" height="150">
<table width="245" border="0">			
			
<% call ShowSmallClass_Tree() %>
	
	
	

</TABLE>

            </td>
          </tr>
          <tr>
            <td><img height="9" src="imgbsy/fbjx1_10.jpg" width="265" /></td>
          </tr>
          <tr>
            <td><img height="37" src="imgbsy/con1.gif" width="265" /></td>
          </tr>
          <tr>
            <td valign="top" width="265" background="imgbsy/tu1.jpg" height="180" style="padding-top:5px;">

<!--#include file="qq.asp" -->	
            </td>
          </tr>
        </tbody>
      </table></td>
      <td valign="top" background="imgbsy/fbjx1_04.jpg"><table cellspacing="0" cellpadding="0" width="735" border="0">
        <tbody>
          <tr>
            <td width="735" height="38" background="imgbsy/title.gif"><table width="735" height="38" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="173" class="about1">产品展示</td>
                <td width="388">&nbsp;</td>
                <td width="174" class="about2"> 首页 &gt;&gt; 产品中心</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td valign="top" background="imgbsy/fbjx1_04.jpg" bgcolor="#FFFFFF"><table cellspacing="0" cellpadding="0" width="700" align="center">
              <tbody>
                <tr>
                  <td class="px12" 
                  valign="top" style=" padding-top:20px; padding-left:10px; padding-right:15px; line-height:25px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="452" 
                  height="25"><% call ShowClassGuide() %>                      </td>
                      </tr>
                    <tr>
                      <td height="237" colspan="2"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="21" colspan="3">&nbsp;</td>
                          </tr>
                          <tr>
                            
                            <td width="52%" rowspan="5">
                                <a href="<%=rs("DefaultPicUrl")%>" target="_blank"><img src="<%=rs("DefaultPicUrl")%>" width="359" height="260" border="0" style="BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-COLOR: #cccccc; BORDER-TOP-COLOR: #cccccc; BORDER-RIGHT-COLOR: #cccccc"></a>
                                                            </td>
                            <td height="39" align="center" valign="middle"><div align="right">产品编号:</div></td>
                            <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Product_Id")%></strong></font></td>
                          </tr>
                          <tr>
                            <td width="16%" height="39" align="center" valign="middle"><div align="right">产品名称:</div></td>
                            <td width="32%" height="40" valign="middle"><font color="#FF6600"><strong><%=rs("title")%></strong></font></td>
                          </tr>
                          <tr>
                            <td height="31" align="center" valign="middle"><div align="right">规  格:</div></td>
                            <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Spec")%></strong></font></td>
                          </tr>
                          <tr>
                            <td height="29" align="center" valign="middle"><div align="right">产品备注:</div></td>
                            <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Memo")%></strong></font></td>
                          </tr>
                          <tr>
                            <td height="31" valign="middle"><div align="right">产品类别:</div></td>
                            <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("BigClassName")%></strong></font></td>
                          </tr>
                          <tr>
                            <td height="9" colspan="3">&nbsp;</td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td class="title_right" height="37" colspan="2">&nbsp;&nbsp; <span style="font-weight: bold">产 品 说 明 </span></td>
                    </tr>
                    <tr>
                      <td height="1" colspan="2"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="50"><%=rs("Content")%>                           </td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td 
                  height="1" colspan="2" bgcolor="#CCCCCC"></td>
                    </tr>
                    <tr>
                      <td 
                  height="40" align="center">点击数:<%=rs("hits")%>&nbsp; 录入时间:<%=FormatDateTime(RS("UpDateTime"),2)%>&nbsp;【<a href='javascript:window.print()' class="black">打印此页</a>】&nbsp;【<a href="javascript:self.close()" class="black">关闭</a>】</td>
                      </tr>
                  </table></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr valign="top">
      <td background="imgbsy/m1.jpg" colspan="2"></td>
    </tr>
    <tr valign="top">
      <td colspan="2" background="imgbsy/m1.jpg" bgcolor="#FFFFFF"></td>
    </tr>
    <tr valign="top">
      <td colspan="2" height="16"><img height="16" src="imgbsy/b1.jpg" width="1000" /></td>
    </tr>
  </tbody>
</table>
<!-- #include file="Foot.asp" -->
<%
end if
rs.close
set rs=nothing
call CloseConn()
%>